#ifndef COMMSMANAGER_H
#define COMMSMANAGER_H

#include <QObject>

class QHttp;


class CommsManager : public QObject
{
Q_OBJECT
public:
    explicit CommsManager(QObject *parent = 0);

signals:

public Q_SLOTS:

        /**
          * Connect to server
          */
        void connectHost();

private Q_SLOTS:

        void onRequestStarted();

        void onRequestFinished();

private:
        QHttp *http;
        int httpGetId;
};

#endif // COMMSMANAGER_H
